﻿// ------------------------------------------------------------------------------------------------
//  <copyright file="INode.cs" company="Iveely">
//    Copyright (c) Iveely Liu.  All rights reserved.
//  </copyright>
//  
//  <Create Time>
//    03/02/2013 21:59 
//  </Create Time>
//  
//  <contact owner>
//    liufanping@iveely.com 
//  </contact owner>
//  -----------------------------------------------------------------------------------------------

namespace IveelySE.NLP.Common.DataStructure.Tree
{
    /// <summary>
    ///   结点接口
    /// </summary>
    public interface INode<T>
    {
        #region 属性或字段

        /// <summary>
        ///   当前结点编号
        /// </summary>
        int Id { get; set; }

        /// <summary>
        ///   父结点
        /// </summary>
        INode<T> Father { get; set; }

        /// <summary>
        ///   深度
        /// </summary>
        int Deep { get; set; }

        #endregion
    }
}